﻿<Window x:Class="WpfListCopy.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SharePoint List Copy" Height="350" Width="774">
    <Grid>
        <TextBox x:Name="FromSiteURL" HorizontalAlignment="Left" Height="23" Margin="86,66,0,0" TextWrapping="Wrap" Text="http://wyth/sites/demo/" VerticalAlignment="Top" Width="328"/>
        <Label Content="From Site:" HorizontalAlignment="Left" Margin="23,62,0,0" VerticalAlignment="Top"/>
        <Label Content="To Site:" HorizontalAlignment="Left" Margin="32,249,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="ToSiteURL" HorizontalAlignment="Left" Height="23" Margin="86,249,0,0" TextWrapping="Wrap" Text="http://" VerticalAlignment="Top" Width="328"/>
        <Image Margin="128,156,439,75" Source="Image2.png" Stretch="Fill"/>
        <ComboBox x:Name="SourceList" ItemsSource="{Binding Path=listOfLists, Mode=OneTime}" HorizontalAlignment="Left" Margin="86,126,0,0" VerticalAlignment="Top" Width="262" SelectionChanged="SourceList_SelectionChanged"/>
        <Label Content="Source List:" HorizontalAlignment="Left" Margin="16,126,0,0" VerticalAlignment="Top"/>
        <Label Content=" Target List:" HorizontalAlignment="Left" Margin="10,283,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.536,6.5"/>
        <Label Content="SharePoint List Copy" HorizontalAlignment="Left" Margin="86,-1,0,0" VerticalAlignment="Top" FontSize="36" FontStyle="Italic"/>
        <TextBox HorizontalAlignment="Left" Height="309" Margin="465,0,0,0" TextWrapping="Wrap" Text="Logging Window" VerticalAlignment="Top" Width="291" Background="#FFECE4E4"/>
        <Button Content="Copy List!!" HorizontalAlignment="Left" Margin="173,189,0,0" VerticalAlignment="Top" Width="87" Background="#FFE4A5E4" Click="Button_Click"/>
        <TextBox x:Name="TargetList" HorizontalAlignment="Left" Height="23" Margin="86,286,0,0" TextWrapping="Wrap" Text="New Target List Name" VerticalAlignment="Top" Width="262" TextChanged="TextBox_TextChanged"/>
        <Button x:Name="GetLists" Content="Get Lists" HorizontalAlignment="Left" Margin="86,94,0,0" VerticalAlignment="Top" Width="75" Click="GetLists_Click"/>

    </Grid>
</Window>
